<html>
<head>
<link href="prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify/prettify.js"></script>
</head>
<body onload="prettyPrint()">

<form>
<input type="hidden" />

<pre class="prettyprint" >
<code onkeyup="prettyPrint(); return true;" class="language-javascript" editable="true">var engine=engine||new Object();
engine.ui=engine.ui||new Object(); 
engine.ui.list=function(map){
  engine.io.write('list');
  var scripts=engine.persistence.getAll(map).toArray();
  for(i in scripts){
 
  }
  return scripts;
};
</code></pre>

</form>

</body>
</html>